﻿using System;
using System.Collections.Generic;

namespace Blame.Decorator
{
    public class Changeset
    {
        public string AuthorEmailAddress { get; set; }
        public string AuthorName { get; set; }
        public string Branch { get; set; }
        public string CommitMessage { get; set; }
        public string Hash { get; set; }
        public List<ChangesetPathAction> PathActions { get; set;  }
        public int RevisionNumber { get; set; }
        public List<string> Tags { get; set; }
        public DateTime Timestamp { get; set; }

        public override string ToString()
        {
            return "Email: " + AuthorEmailAddress + "\tAuthor: " + AuthorName + "\tBranch: " + Branch + "\tSummary: " +
                   CommitMessage
                   + "\tHash: " + Hash + "\tRevision: " + RevisionNumber + "\tDate: " + Timestamp;
        }


    }
}
